.myFamilyGroup{
  background-color: #eee;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  .family-item{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    width: 100%;
    height: 50px;
    background-color: white;
    border-bottom: 1px solid rgb(238, 237, 237);
    .avatar{
      width: 50px;
      height: inherit;
      border-radius: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50px;
      overflow: hidden;
      .image{
        width: inherit;
        height: inherit;
        background-color: white;
      }
      .txt{
        width: inherit;
        height: inherit;
        background-color: #E83A2F;
        color: white;
        font-size: 28px;
        overflow: hidden;
        border-radius: 50px;
        line-height: 50px;
        text-align: center;
        &.add{
          font-size: 32px;
          margin-top: -4px;
        }
      }
    }
    .info{
      margin-left: 12px;
      
      .role{
        font-size: 20px;
      }
      .phone{
        color: rgb(180, 179, 179);
        margin-top: 4px;
      }
    }

  }
  
}
.bar{
  height: 8px;
  width: 100%;
  background-color: #eee;
}
.family-list-float{
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  
  &.show{
    display: block;
  }
  &.hide{
    display: none;
  }
  .shadow{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
  }
  
  .family-content{
    background-color: white;
    position: absolute;
    bottom:0px;
    width: 100%;
    left: 0;
    padding: 20px 0px 40px;
    box-sizing: border-box;
    box-sizing: border-box;
    .title{
      height: 40px;
      line-height: 40px;
      text-align: center;
      width: 100%;
      position: relative;
      font-size: 20px;
      font-weight: bold;
      .at-close{
        position: absolute;
        top:50%;
        transform: translateY(-50%);
        right:12px;
      }
    }
    .grid{
      display: grid;
      grid-template-columns: repeat(2,50%);
      margin-top: 12px;
      padding:0px 20px;
      .grid-item{
        // display: flex;
        // align-items: center;
        // justify-content: center;
        height: 160px;
        padding:0px 20px;
        box-sizing: border-box;
        
        &:active{
          opacity: 0.7;
        }
        .btn{
          background: transparent!important;
          border: none!important;
          box-shadow: none!important;
          outline: none!important;
          &::after{
            background: transparent!important;
            border: none!important;
            box-shadow: none!important;
            outline: none!important;
          }
        }
        .grid-item-content{
          border:1px solid #eee;
        }
        .grid-item-img{
          margin: auto;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100px;
          height: 100px;
          .grid-item-img-image{
            width: 100%;
            height: 100%;
            
          }
        }
        .grid-item-name{
          margin: auto;
          margin-top: 8px;
          text-align: center;
        }
      }
    }
    .cancel-btn{
      margin-top: 12px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      width: 100%;
      font-size: 20px;
      &:active{
        background-color: #eee;
      }
    }
  }
}

.at-grid{
  .at-grid-item{
    .at-grid-item__content{
    }
  }
  
  .at-grid-item__content{
    .content-inner__img{
      width: 80px;
      height: 80px;
    }
  }
  
  
}